<?if($list['rows']) {?>
<form action="del" method="POST">
<table class="raceTable" cellpadding="5" cellspacing="0">
	<tr>
		<th>id</th>
		<th>title</th>
		<th>url</th>
		<th>type</th>
		<th>start</th>
		<th>end</th>
		<th>author</th>
		<th>createtime</th>
	</tr>
	<?foreach($list['rows'] as $key=>$row) {?>
	<tr>
		<td><input type="checkbox" name="id[]" class="short_input" value="<?=$row['id']?>" /></td>
		<td><a href="/poll/view/index/id/<?=$row['id']?>"><?=$row['title']?></a></td>
		<td><?=$row['url']?></td>
		<td><?=$_SERVER['config']['poll']['type'][$row['type']]?></td>
		<td><?=date('Y-m-d H:i:s',$row['start'])?></td>
		<td><?=date('Y-m-d H:i:s',$row['end'])?></td>
		<td><?=$row['author']?></td>
		<td><?=date('Y-m-d H:i:s',$row['create_time'])?></td>
	</tr>
	<?}?>
	<tr>
		<td><input type="submit" name="del" value="del" /></td>
		<td colspan="7"><?=self::genPage($list['pageInfo'])?></td>
	</tr>
</table>
</form>
<?}?>
